<?php
return array(
	Rediska::DEFAULT_NAME => array (
		'name'         => Rediska::DEFAULT_NAME,
		'namespace'    => '',
	),
	'cache'   => array (
		'name'         => 'cache',
		'namespace'    => 'cache::',
		'servers'      => array(
			array(
				'host'   => '127.0.0.1',
				'port'   => Rediska_Connection::DEFAULT_PORT,
				'db' => 1, //使用1库
				'weight' => Rediska_Connection::DEFAULT_WEIGHT,
			),
		),
	),
	'session'  => array (
		'name'         => 'session',
		'namespace'    => 'session::',
		'servers'      => array(
			array(
				'host'   => '127.0.0.1',
				'port'   => Rediska_Connection::DEFAULT_PORT,
				'db' => 2, //使用2库
				'weight' => Rediska_Connection::DEFAULT_WEIGHT,
			),
		),
	)
);

?>
